From: Sébastien Villemot Date: Wed, 8 Apr 2026 14:43:38 +0000 (+0200) Subject: Remove warning about OpenMP X-Git-Tag: archive/raspbian/0.3.32+ds-5+rpi1^2~8 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:mocancezar%40gmail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:mocancezar%40gmail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=0f44da72c04c57e170358a98ed5921a72b33ad56;p=openblas.git Remove warning about OpenMP Forwarded: no Last-Update: 2014-02-17 This warning is annoying when the library is built with pthreads. See #684344 Last-Update: 2014-02-17 Gbp-Pq: Name remove-openmp-warning.patch --- diff --git a/driver/others/blas_server.c b/driver/others/blas_server.c index ed6a850..b589577 100644 --- a/driver/others/blas_server.c +++ b/driver/others/blas_server.c @@ -811,16 +811,6 @@ if (openblas_threads_callback_) { } -#ifdef __ELF__ - if (omp_in_parallel && (num > 1)) { - if (omp_in_parallel() > 0) { - fprintf(stderr, - "OpenBLAS Warning : Detect OpenMP Loop and this application may hang. " - "Please rebuild the library with USE_OPENMP=1 option.\n"); - } - } -#endif - if ((num > 1) && queue -> next) exec_blas_async(1, queue -> next); #ifdef TIMING_DEBUG